package edu.cuit.avatar.entity;

import edu.cuit.avatar.annotations.IdGenerateStrategy;
import edu.cuit.avatar.annotations.TableId;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @author <a href="mailto:1020zhaodan@163.com">Adan</a>
 * @version 1.0
 * @date 2025/7/25 16:10
 */
@Setter
@Getter
@ToString
//@Accessors(chain = true)
public class Student {
    @Getter(onMethod_ = @TableId(strategy = IdGenerateStrategy.INPUT))
    private String ssn;

    private String name;

    private String gender;

    private String tel;

    private String password;

    private Integer deptId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;
}
